package com.divine.wn.car.admin.persistence;

import java.util.HashMap;
import java.util.List;

import com.divine.wn.car.admin.vo.AreaVO;
import com.divine.wn.car.admin.vo.BackUserVO;
import com.divine.wn.car.admin.vo.RoleVO;
import com.divine.wn.car.admin.vo.UserVO;
import com.divine.wn.car.admin.vo.VehicleVO;

public interface MaintainVehicleMapper{
	void updateTC(HashMap<String,Object> tcMap);
	void updateTCCar(HashMap<String,Object> tcMap);
	
	void insertTC(HashMap<String,Object> tcMap);
	void insertTCCar(HashMap<String,Object> tcMap);
	
	void deleteTC(HashMap<String,Object> tcMap);
	
	void deleteTC_Car(HashMap<String,Object> tcMap);
	void updateTx(HashMap<String ,Object> map);
	void updateVehicle(VehicleVO vehicleVO );
	List <VehicleVO>  getVehicleTypeList();
	HashMap<String,Object> getTxList();
	void submitUser(BackUserVO backUserVO);
	int isExistUserNum(BackUserVO backUserVO);
	
	List<HashMap<String,Object>>  getUser(HashMap<String,Object> map );
	
	int getUserCount(HashMap<String,Object> map);
	
	void updateUser(BackUserVO backUserVO);
	
	void deleteUser(BackUserVO backUserVO);
	
	
	int getKey();
	List<HashMap<String,Object>>  getTC();
	List<HashMap<String,Object>>  getTCCar(String tcid);
	
	int getDataCount (HashMap<String,Object> map);
	List<HashMap<String,Object>> getDataList(HashMap<String,Object> map);
	void deleteDataUser(int id);
	void deleteDataLog(int id);
	void deleteDataWorkflow(int id);
	List<HashMap<String,Object>> getYWY();
	UserVO getFrontUserInfo(int id);
	String getXDY(int id);
	List<HashMap<String,Object>> getPay(String tableid);
	
	List<HashMap<String,Object>> getChartData(HashMap<String,Object> map);
	List<AreaVO> getAreaDataList();
	List<RoleVO> getRoleDataList();
	
	int deleteArea(String areaID);
	
	void insertArea(AreaVO areaVO);
	
	void updateArea(AreaVO areaVO);
	
int deleteRole(String roleID);
	
	void insertRole(RoleVO RoleVO);
	
	void updateRole(RoleVO RoleVO);
	
}
